package org.qu.vo;

import java.sql.Timestamp;

/**
 * IsnsPhoto entity. @author MyEclipse Persistence Tools
 */

public class IsnsPhoto implements java.io.Serializable {

	// Fields

	private Integer photoId;
	private Integer userId;
	private String userName;
	private String photoName;
	private String photoInformation;
	private Timestamp addTime;
	private String photoSrc;
	private String photoThumbSrc;
	private Integer albumId;
	private Short isPass;
	private String privacy;
	private Integer comments;
	private String tag;

	// Constructors

	/** default constructor */
	public IsnsPhoto() {
	}

	/** minimal constructor */
	public IsnsPhoto(Integer userId, Integer albumId, Integer comments) {
		this.userId = userId;
		this.albumId = albumId;
		this.comments = comments;
	}

	/** full constructor */
	public IsnsPhoto(Integer userId, String userName, String photoName,
			String photoInformation, Timestamp addTime, String photoSrc,
			String photoThumbSrc, Integer albumId, Short isPass,
			String privacy, Integer comments, String tag) {
		this.userId = userId;
		this.userName = userName;
		this.photoName = photoName;
		this.photoInformation = photoInformation;
		this.addTime = addTime;
		this.photoSrc = photoSrc;
		this.photoThumbSrc = photoThumbSrc;
		this.albumId = albumId;
		this.isPass = isPass;
		this.privacy = privacy;
		this.comments = comments;
		this.tag = tag;
	}

	// Property accessors

	public Integer getPhotoId() {
		return this.photoId;
	}

	public void setPhotoId(Integer photoId) {
		this.photoId = photoId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPhotoName() {
		return this.photoName;
	}

	public void setPhotoName(String photoName) {
		this.photoName = photoName;
	}

	public String getPhotoInformation() {
		return this.photoInformation;
	}

	public void setPhotoInformation(String photoInformation) {
		this.photoInformation = photoInformation;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getPhotoSrc() {
		return this.photoSrc;
	}

	public void setPhotoSrc(String photoSrc) {
		this.photoSrc = photoSrc;
	}

	public String getPhotoThumbSrc() {
		return this.photoThumbSrc;
	}

	public void setPhotoThumbSrc(String photoThumbSrc) {
		this.photoThumbSrc = photoThumbSrc;
	}

	public Integer getAlbumId() {
		return this.albumId;
	}

	public void setAlbumId(Integer albumId) {
		this.albumId = albumId;
	}

	public Short getIsPass() {
		return this.isPass;
	}

	public void setIsPass(Short isPass) {
		this.isPass = isPass;
	}

	public String getPrivacy() {
		return this.privacy;
	}

	public void setPrivacy(String privacy) {
		this.privacy = privacy;
	}

	public Integer getComments() {
		return this.comments;
	}

	public void setComments(Integer comments) {
		this.comments = comments;
	}

	public String getTag() {
		return this.tag;
	}

	public void setTag(String tag) {
		this.tag = tag;
	}

}